<?php
use Illuminate\Support\Facades\Route;

Route::prefix("")->group(function() {
    // 微信
    Route::any('wechat/notify', 'WechatController@notify')->name('wechat.notify');
    // 三方oauth授权
    Route::get('oauth/{channel}', 'OauthController@index')->name('oauth');

    Route::get('p', 'IndexController@p');
    // 平台通知
    Route::any('platform-notify/{action}', 'PlatformNotifyController@index')->where('action', '\w+');
});
